/****************************************************
 * RESPONSIVE
 ***************************************************/
@media only screen and (min-width: 801px) {

    .wrap-header-menu,
    #footer {
        min-width: 990px;
    }

}
@media only screen and (min-width: 801px) and (max-width: 1030px) {

    #content .wrap-width {
        width: 990px;
    }
    #left-2column {
        width: 660px;
    }
    #right-2column {
        width: 270px;
    }
    #right-home-column {
        width: 445px;
    }

}

@media only screen and (max-width: 990px) {

    /* SLIDER */
    .wrap-slider-content {
        width: 990px;
    }
    #slideshow #slides, #slideshow .slide, #slider-button {
        width: 990px;
    }

}

@media only screen and (max-width: 800px) {

    /* WRAP */
    .wrap-slider-content {
        width: auto;
    }
    .wrap-width {
        width: auto;
        min-width: 280px;
        margin: 0 20px;
    }

    /* GALLERY */
    .galerie a.last-in-row {
        margin-right: 9px;
    }

    /* TABLE */
    table {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: auto !important;
    }

    /* HEADER */
    #header-social, #header-email {
        display: none !important;
    }

    /* HEADER MENU */
    #header-menu, .theme-3 #full-width-menu {
        display: none;
    }

    /* MOBILE MENU */
    #mobile-menu {
        display: block;
    }

    /* SLIDER */
    #slideshow #slides, #slideshow .slide, #slider-button {
        width: 100%;
    }

    /* HOME CATEGORIES */
    #home-categories {
        display: none;
    }

    /* HOME COLUMNS */
    #left-home-column, #right-home-column {
        display: block;
        width: auto;
        float: none;
    }
    #left-home-column:before,
    #left-2column:after,
    #right-2column:before,
    #right-2column:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
    }
    #left-home-column {
        margin-bottom: 25px;
    }

    /* CONTENT */
    #content .wrap-width {
        width: auto;
        margin: 0;
    }
    #content h1, #content h2, #content h3 {
        padding: 5px 20px 5px 0px;
        background: #fff;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
    }
    #content .vice-poptavka {
        float: none;
    }

    /* NEWS */
    #news-list .news-box h1, #news-list .news-box h2, #news-list .news-box h3 {
        border-bottom: none;
        background: transparent;
        padding-left: 0px;
    }

    /* REFERENCES */
    #references-list .references-box h1, #references-list .references-box h2, #references-list .references-box h3 {
        border-bottom: none;
        background: transparent;
        padding-left: 0px;
    }

    /* CONTENT: 1 column, left 2 columns */
    #column {
        width: auto;
    }
    #left-2column {
        float: none;
        width: auto;
    }
    #column ul,
    #left-2column ul {
        margin: 0px 75px;
    }
    #column .galerie,
    #left-2column .galerie {
        width: 850px;
    }

    /* CONTENT: right 2 columns */
    #right-2column {
        float: none;
        width: auto;
        border-left: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }
    #right-2column .right-2column-in {
        padding: 15px 0px;
    }
    #right-2column hr {
        display: none;
        border: 0;
        height: 1px;
        background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
        background-image: -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
        background-image: -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
        background-image: -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.25), rgba(0,0,0,0));
    }
    #right-2column .right-2column-poptavka {
        text-align: center;
    }

    #right-2column .galerie {
        text-align: center;
    }
    #right-2column .galerie a {
        display: inline-block;
        float: none;
    }

    #left-2column:before,
    #left-2column:after,
    #right-2column:before,
    #right-2column:after {
        content: " ";
        display: block;
        clear: both;
        height: 0;
    }

    /* FOOTER */
    #footer .footer-column-left2, #footer .footer-column-right2 {
        display: block;
        float: none;
    }
    #footer .footer-column-left2 {
        /*padding-bottom: 25px;*/
    }
    #footer-newsletter, #footer-social, #footer-menu, #footer-logo {
        width: 300px;
        padding-right: 0px;
    }
    #footer-newsletter-block {
        display: none;
    }

    #column .galerie,
    #left-2column .galerie {
        width: 680px;
    }

    #references-bottom {
        text-align: center !important;
    }
    #references-bottom .galerie a {
        float: none;
        display: inline-block;
    }

}

@media only screen and (max-width: 778px) {

    #right-home-column .galerie {
        width: 634px;
    }

}

@media only screen and (max-width: 719px) {

    #column .galerie,
    #left-2column .galerie {
        width: 510px;
    }

}


@media only screen and (max-width: 654px) {

    #right-home-column .galerie {
        width: 506px;
    }

}

@media only screen and (max-width: 640px) {

    /* GALLERIES BOTTOM */
    #home-galleries {
        display: none;
    }

    /* REFERENCES BOTTOM */
    #references-bottom {
        display: none;
    }

    /* CONTENT: left 2 columns */
    #column ul,
    #left-2column ul {
        margin: 0px;
    }

}

@media only screen and (min-width: 640px) and (max-width: 800px) {
    
    #header-language {
        margin-right: 15px;
    }
    
}

@media only screen and (max-width: 639px) {

    /* HEADER LOGO */
    #header-logo {
        float: none;
        width: auto;
        margin-bottom: 15px;
        text-align: center;
    }
    #header-contact-menu, #header-contact {
        float: none;
        min-height: 18px;
        height: 18px;
    }
    #header-contact-menu {
        margin-bottom: 0px;
    }
    #header-language {
        float: right;
        margin-left: 0px;
    }

    /* SLIDER */
    #slider, #slider-button {
        display: none;
    }

    /* BREADCRUMBS */
    #breadcrumbs {
        display: none;
    }

    /* CONTENT */
    #content .content-in {
        padding-top: 10px;
    }
    .homepage #content .content-in {
        padding-top: 0;
    }

    /* FOOTER */
    #footer .footer-column-left, #footer .footer-column-right {
        float: none;
        margin: 0 auto;
    }
    #footer-menu {
        display: none !important;
    }
    #footer .footer-column-left2 {
        margin-bottom: 0px;
    }
    #footer-newsletter, #footer-social, #footer-menu, #footer-logo {
        width: 280px;
        padding: 0px 0px 25px 0px;
    }
    #footer-copyright-links {
        margin-top: 0;
    }
    #footer-links, #footer-copyright {
        float: none;
    }
    #footer-links {
        margin-bottom: 25px;
    }

}

@media only screen and (max-width: 549px) {

    #column .galerie,
    #left-2column .galerie {
        width: 340px;
    }

}

@media only screen and (max-width: 539px) {

    /* FORM */
    #form-form {
        width: auto;
    }
    input, textarea, select {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
    }

    /* CONTACT */
    #contact-info, #contact-other, #contact-form, #contact-map {
        width: auto;
    }
    #contact-form .contact-form-name, #contact-form .contact-form-email, #contact-form .contact-form-surname, #contact-form .contact-form-phone {
        float: none;
    }
    #contact-form .contact-form-name input, #contact-form .contact-form-phone input {
        width: 100%;
    }
    #contact-form .contact-form-surname input, #contact-form .contact-form-email input {
        width: 100%;
    }
    #contact-form textarea {
        width: 100%;
    }

}

@media only screen and (max-width: 531px) {

    #right-home-column .galerie {
        width: 369px;
    }

}

@media only screen and (max-width: 479px) {

    /* NEWS and REFERENCES date */
    #news-list .news-box-item .news-item-date, #references-list .references-box-item .references-item-date {
        float: none;
    }
    #news-list .news-box-item h3, #references-list .references-box-item h3 {
        margin-top: 0px;
    }

    /* FOOTER text */
    #footer .footer-text {
        text-align: left;
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
    }

}

@media only screen and (max-width: 408px) {

    #right-home-column .galerie {
        width: 246px;
    }

}

@media only screen and (max-width: 379px) {

    #column .galerie {
        width: 156px;
    }
    #left-2column .galerie {
        width: 161px;
    }
    #column .galerie a
    #left-2column .galerie a {
        float: none;
        margin: 0px auto 9px auto;
    }

}

@media only screen and (max-width: 340px) {

    #header-logo img {
        max-width: 260px;
    }

}

/****************************************************
 * RESPONSIVE THEME 1
 ***************************************************/
@media only screen and (max-width: 800px) {

    .theme-1 #home-categories {
        text-align: center;
        display: block;
    }
    .theme-1 #home-categories a {
        display: inline-block;
        float: none;
        height: auto;
        margin: 0 14px 35px 0;
    }
    .theme-1 #home-categories a.items-1, .theme-1 #home-categories a.items-1 div.category-text,
    .theme-1 #home-categories a.items-2, .theme-1 #home-categories a.items-2 div.category-text,
    .theme-1 #home-categories a.items-3, .theme-1 #home-categories a.items-3 div.category-text {
        width: 229px;
    }
    .theme-1 #home-categories a.items-1 div.category-perex,
    .theme-1 #home-categories a.items-2 div.category-perex,
    .theme-1 #home-categories a.items-3 div.category-perex {
        width: 219px;
    }
    .theme-1 #home-categories a.items-1 div.category-image,
    .theme-1 #home-categories a.items-2 div.category-image,
    .theme-1 #home-categories a.items-3 div.category-image {
        width: 221px;
    }

}
/****************************************************
 * RESPONSIVE THEME 2
 ***************************************************/
@media only screen and (max-width: 800px) {

    /* SLIDER */
    .theme-2 #slider {
        width: 100%;
        padding: 4px;
    }
    .theme-2 #slideshow #slides {
        width: 100%;
    }
    .theme-2 #slideshow .obsah-obal {
        width: 100%;
    }
    .theme-2 #slideshow .obsah {
        padding: 15px;
        width: 100%;
        max-width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }
    .theme-2 #slideshow .obsah .text {
        width: 500px;
    }
    .theme-2 #slideshow .linkblock {
        width: 100%;
        margin-left: -303px;
    }

    /* HOME CATEGORIES */
    .theme-2 #home-categories, .theme-2 #home-categories.no-text {
        display: block;
        width: 100%;
        height: auto;
        text-align: center;
    }
    .theme-2 #home-categories a {
        float: none;
        display: inline-block;
        margin: 0 11px 11px;
    }
    .theme-2 #home-categories a.category-4,
    .theme-2 #home-categories a.items-1.category-1,
    .theme-2 #home-categories a.items-2.category-2,
    .theme-2 #home-categories a.items-3.category-3 {
        margin-right: 11px;
    }

}

@media only screen and (max-width: 639px) {

    /* HOME CATEGORIES */
    .theme-2 #home-categories {
        margin-top: 10px;
    }
    .theme-2 #home-categories a {
        display: block;
        margin: 0 auto 11px;
    }
    .theme-2 #home-categories a.category-4,
    .theme-2 #home-categories a.items-1.category-1,
    .theme-2 #home-categories a.items-2.category-2,
    .theme-2 #home-categories a.items-3.category-3 {
        margin-right: auto;
    }

}

/****************************************************
 * RESPONSIVE THEME 3
 ***************************************************/
@media only screen and (max-width: 800px) {

    /* SLIDER */
    .theme-3 #slider {
        width: 100%;
        border-left: 0;
        border-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    /* HOME CATEGORIES */
    .theme-3 #home-categories {
        display: block;
        text-align: center;
    }
    .theme-3 #home-categories,
    .theme-3 #home-categories.no-text {
        height: auto;
    }
    .theme-3 #home-categories a {
        display: inline-block;
        float: none;
        margin: 0 11px 35px 11px;
    }
    .theme-3 #home-categories a.items-1,
    .theme-3 #home-categories a.items-2,
    .theme-3 #home-categories a.items-3 {
        width: 229px;
    }
    .theme-3 #home-categories a.items-1 div.category-text,
    .theme-3 #home-categories a.items-2 div.category-text,
    .theme-3 #home-categories a.items-3 div.category-text {
        width: 109px;
    }
    .theme-3 #home-categories a.items-1 div.category-image,
    .theme-3 #home-categories a.items-2 div.category-image,
    .theme-3 #home-categories a.items-3 div.category-image {
        width: 100px;
    }

}

@media only screen and (max-width: 800px) {

    .theme-3 #home-categories {
        padding-top: 20px;
    }

}

/****************************************************
 * RESPONSIVE THEME 4
 ***************************************************/
@media only screen and (max-width: 800px) {

    /* HOMEPAGE */
    .theme-4 #home-column {
        margin: 20px 0 50px;
    }

}

@media only screen and (max-width: 640px) {

    /* HOMEPAGE */
    .theme-4 #home-column {
        width: auto;
        margin: 50px 0;
    }
    .theme-4 #content .vice-poptavka {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        height: 50px;
    }

}

@media only screen and (max-width: 479px) {

    /* HOMEPAGE */
    .theme-4 #home-column {
        padding: 20px 35px;
    }

}

/****************************************************
 * RESPONSIVE THEME 5
 ***************************************************/
@media only screen and (min-width: 1340px) {

    .theme-5 #header-menu {
        max-width: 1250px;
    }
}

@media only screen and (min-width: 1340px) {

    .theme-5 .wrap-width {
        width: 1320px;
    }
    .theme-5 #content .wrap-width {
        width: 1320px;
    }

    .theme-5 #header-menu {
        max-width: 990px;
    }

    .theme-5 #content-top {
        padding: 100px 0 230px;
    }

    .theme-5 #home-categories a {
        margin: 0 0px 35px;
    }
    .theme-5 #home-categories a.category-4 {
        margin-right: 0px;
    }

    .theme-5 #right-home-column {
        width: 445px;
    }
    .theme-5 #left-home-column {
        width: 815px;
    }
    .theme-5 #left-home-column .galerie a{
        margin: 0 21px 21px 0;
    }
    .theme-5 #left-home-column .galerie a.last-in-row {
        margin-right: 21px;
    }

    .theme-5 #footer-links {
        max-width: 1000px;
    }
    .theme-5 #footer-newsletter {
        width: 380px;
    }
    .theme-5 #footer-social, .theme-5 #footer-menu {
        width: 275px;
    }
    .theme-5 #footer-logo {
        width: 290px;
    }

    .theme-5.homepage #news-list .news-box {
        display: block;
        width: 390px;
        float: left;
    }
    .theme-5.homepage #news-list .news-box.odd {
        margin: 0 35px 35px 0;
    }

    /* 2 COLUMNS LAYOUT */
    .theme-5 #left-2column {
        width: 980px;
    }

}

@media only screen and (min-width: 1200px) {

    .theme-5 #header-menu {
        max-width: 850px;
    }

}

@media only screen and (max-width: 1000px) {

    .theme-5 #content-top .title {
        font-size: 48px;
        line-height: 65px;
    }

}

@media only screen and (max-width: 800px) {

    .theme-5 #header .wrap-width {
        margin: 0;
    }

    .theme-5 #content-top .title {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        max-width: 100%;
    }

    .theme-5 #home-categories {
        display: block;
    }
    .theme-5 #home-categories a {
        margin: 0px 11px 35px;
    }
    .theme-5 #home-categories a.category-4 {
        margin-right: 11px;
    }
    .theme-5 #home-categories a.items-1.category-1,
    .theme-5 #home-categories a.items-2.category-2,
    .theme-5 #home-categories a.items-3.category-3 {
        margin-right: 11px;
    }

    .theme-5 #content-top .title {
        max-width: 100%;
        width: 100%;
    }

}

@media only screen and (max-width: 639px) {

    .theme-5.homepage #content .content-in {
        padding-top: 10px;
    }

}

@media only screen and (max-width: 479px) {

    .theme-5 #content-top .title .button-link {
        font-size: 16px;
    }

}

/****************************************************
 * RESPONSIVE THEME 6
 ***************************************************/
@media only screen and (min-width: 1340px) {

    .theme-6 #header-menu {
        max-width: 1250px;
    }
}

@media only screen and (min-width: 1340px) {

    .theme-6 .wrap-width {
        width: 1320px;
    }
    .theme-6 #content .wrap-width {
        width: 1320px;
    }

    .theme-6 #header-menu {
        max-width: 990px;
    }

    .theme-6 #content-top {
        padding: 100px 0 0;
    }

    .theme-6 #home-categories a {
        margin: 0 0px 35px;
    }
    .theme-6 #home-categories a.category-4 {
        margin-right: 0px;
    }

    .theme-6 #right-home-column {
        width: 445px;
    }
    .theme-6 #left-home-column {
        width: 815px;
    }
    .theme-6 #left-home-column .galerie a{
        margin: 0 21px 21px 0;
    }
    .theme-6 #left-home-column .galerie a.last-in-row {
        margin-right: 21px;
    }

    .theme-6 #footer-links {
        max-width: 1000px;
    }
    .theme-6 #footer-newsletter {
        width: 380px;
    }
    .theme-6 #footer-social, .theme-6 #footer-menu {
        width: 275px;
    }
    .theme-6 #footer-logo {
        width: 290px;
    }

    .theme-6.homepage #news-list .news-box {
        display: block;
        width: 390px;
        float: left;
    }
    .theme-6.homepage #news-list .news-box.odd {
        margin: 0 35px 35px 0;
    }

    /* 2 COLUMNS LAYOUT */
    .theme-6 #left-2column {
        width: 980px;
    }

}

@media only screen and (min-width: 1340px) {
    
    .theme-6 #content-top .title {
        margin-left: 260px;
    }
    
}

@media only screen and (min-width: 1200px) {

    .theme-6 #header-menu {
        max-width: 850px;
    }

}

@media only screen and (min-width: 768px) {

    .theme-6 #content-top .title {
        max-width: 40%;
        width: 40%;
    }

    .theme-6 #home-categories {
        display: block;
        width: 100%;
        position: fixed;
        bottom: 0;
    }
    .theme-6 .hc-top {
        display: none;
    }
    .theme-6 .hc-bottom {
        display: block;
    }

}

@media only screen and (max-width: 800px) {

    .theme-6 #header .wrap-width {
        margin: 0;
    }

    .theme-6 #content-top .title {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .theme-6 #home-categories {
        display: block;
    }
    .theme-6 #home-categories a {
        margin: 0px 11px 35px;
    }
    .theme-6 #home-categories a.category-4 {
        margin-right: 11px;
    }
    .theme-6 #home-categories a.items-1.category-1,
    .theme-6 #home-categories a.items-2.category-2,
    .theme-6 #home-categories a.items-3.category-3 {
        margin-right: 11px;
    }

    .theme-6 #content-top .title {
        max-width: 100%;
        width: 100%;
    }

}

@media only screen and (min-width: 1001px) and (max-width: 1339px) {

    .theme-6 #content-top .title {
        max-width: 50%;
        width: 50%;
        margin-left: 100px;
    }

}

@media only screen and (min-width: 768px) and (max-width: 1000px) {

    .theme-6 #content-top .title {
        max-width: 60%;
        width: 60%;
        margin-left: 10%;
    }
    
    .theme-6 #home-categories a, .theme-6 #home-categories a div.category-text,
    .theme-6 #home-categories a.items-1, .theme-6 #home-categories a.items-1 div.category-text,
    .theme-6 #home-categories a.items-2, .theme-6 #home-categories a.items-2 div.category-text,
    .theme-6 #home-categories a.items-3, .theme-6 #home-categories a.items-3 div.category-text {
        width: 134px;
    }
    .theme-6 #home-categories a div.category-perex,
    .theme-6 #home-categories a.items-1 div.category-perex,
    .theme-6 #home-categories a.items-2 div.category-perex,
    .theme-6 #home-categories a.items-3 div.category-perex {
        width: 124px;
    }
    .theme-6 #home-categories a div.category-image,
    .theme-6 #home-categories a.items-1 div.category-image,
    .theme-6 #home-categories a.items-2 div.category-image,
    .theme-6 #home-categories a.items-3 div.category-image {
        width: 126px;
    }

}

@media only screen and (max-width: 639px) {

    .theme-6.homepage #content .content-in {
        padding-top: 10px;
    }

}

@media only screen and (max-width: 479px) {

    .theme-6 #content-top .title .button-link {
        font-size: 16px;
    }

}